/**
 * f-club.cn
 * Copyright (c) 2009-2012 All Rights Reserved.
 */
package com.mtoolkit.socket;

import com.mtoolkit.socket.server.NioSocketServer;

/**
 * 
 * @author michael
 * @version $Id: Server.java 79 2012-11-05 12:58:10Z xishizhang@gmail.com $
 */
public class Server {
    
    public static void main(String[] args) {
        NioSocketServer server = new NioSocketServer(8611);
        server.getServerEventNotifier().registerListener(new LogHandler());
        server.getServerEventNotifier().registerListener(new TimeHandler());
        
        server.startup();
    }
    
}
